Hello,
I was wondering if it's possible to display custom QtWidgets directly into an HDA parameters interface ?
For now I'm using buttons callbacks to show a Qt Window defined in PythonModule script section of the HDA.
Thanks.
Paul.
Found 3 posts.
Search results Show results as topic list.
Technical Discussion » Is it possible to embed a custom python QtWidget in HDA parameter interface ?
- Paul Parneix
- 3 posts
- Offline
PDG/TOPs » Feature Idea : Add a "warning" mode to Json Input node is key doesn't exists
- Paul Parneix
- 3 posts
- Offline
Hello,
Json Input node works pretty well ! But I figured out that if you do a query on a key that doesn't exists, node returns an error.
It would be nice to add a mode that returns warning if key doesn't exist (same as file node if frame doesn't exist), but continue reading / graph execution.
(I found a workaround using pyhon and try/except to read json data).
Thanks
Paul.
Json Input node works pretty well ! But I figured out that if you do a query on a key that doesn't exists, node returns an error.
It would be nice to add a mode that returns warning if key doesn't exist (same as file node if frame doesn't exist), but continue reading / graph execution.
(I found a workaround using pyhon and try/except to read json data).
Thanks
Paul.
Edited by Paul Parneix - April 17, 2019 12:51:02
Technical Discussion » Python COP Filter Example Broken
- Paul Parneix
- 3 posts
- Offline
Same problems here, latest H17 indie stable build.
This feature seems pretty promising! especially for Numpy image processing.
The following code doesn't work in Python COP :
But seems to work in a Python SOP node (input_cop pointing to the COP node). Don't know if it can help to fix.
This feature seems pretty promising! especially for Numpy image processing.
The following code doesn't work in Python COP :
pixels = numpy.frombuffer(
input_cop.allPixelsAsString("C"), dtype=numpy.float32).reshape(
input_cop.xRes(), input_cop.yRes(), 3).copy()
But seems to work in a Python SOP node (input_cop pointing to the COP node). Don't know if it can help to fix.
-
- Quick Links